import { Directive, Input, TemplateRef } from '@angular/core';

@Directive({
  selector: '[ybyFormRef]'
})
export class YbyFormRefDirective {

  // 接受child组件的标识
  @Input() ybyFormRef!: string;
  // tempateRef - 用来获取子组件
  constructor(
    public templateRef: TemplateRef<any>,
  ) { }

}
